'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  // oss路由配置
  router.resources('/oss', controller.oss);
  // 支付宝路由配置
  router.resources('/alipay', controller.alipay);
};
